package com.guigu.qingcheng.servicebusiness.service;

import com.guigu.qingcheng.pojo.bussiness.TbActivity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.qingcheng.utils.R;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author testjava
 * @since 2020-07-08
 */
public interface TbActivityService extends IService<TbActivity> {

    R findPage(Map<String,Object> searchMap, Integer page, Integer size);

    TbActivity findById(@Param("id") Integer id);

    void insert(TbActivity tbActivity);

    void update(TbActivity tbActivity);

    void delete(@Param("id") Integer id);
}
